package zoo.zoo;

//è������
public class Cat extends Animal implements ITerrestrial {
	
	//������ȵ�����
	private int legNum;

	public Cat() {
		
	}

	public Cat(String name, int legNum) {
		super(name);
		this.legNum = legNum;
		
	}
	
	@Override
	public String shout() {
		return "喵喵喵 ...";
	}

	@Override
	public int getLegNum() {
		return this.legNum;
	}

}
